﻿#region zh-CHS 2010 - 2010 DemoSoft 团队 | en 2010-2010 DemoSoft Team

//     NOTES
// ---------------
//
// This file is a part of the MMOCE(Massively Multiplayer Online Client Engine) for .NET.
//
//                              2010-2010 DemoSoft Team
//
//
// First Version : by H.Q.Cai - mailto:caihuanqing@hotmail.com

/***************************************************************************
 *
 *   This program is free software; you can redistribute it and/or modify
 *   it under the terms of the GNU Lesser General Public License as published
 *   by the Free Software Foundation; either version 2.1 of the License, or
 *   (at your option) any later version.
 *
 ***************************************************************************/

#region zh-CHS 包含名字空间 | en Include namespace
using System.Diagnostics;
#endregion

namespace Demo.Silverlight.Core.Common
{
    /// <summary>
    /// 线程安全的日志
    /// </summary>
    public class Logs
    {
        #region zh-CHS 公开的函数 | en Class Public Methods
        /// <summary>
        /// 
        /// </summary>
        /// <param name="strFileName"></param>
        /// <param name="strFormat"></param>
        public static void WriteLineToDebug( string strFormat )
        {
            Debug.WriteLine( strFormat );
        }

        /// <summary>
        /// 
        /// </summary>
        /// <param name="strFileName"></param>
        /// <param name="strFormat"></param>
        /// <param name="arg"></param>
        public static void WriteLineToDebug( string strFormat, params object[] arg )
        {
            WriteLineToDebug( string.Format( strFormat, arg ) );
        }
        #endregion
    }
}
#endregion

